package csc.traning.wpsj.servlet.lessons;

import java.io.File;

public class WPSJUtilities {
	public static void listFilesForFolder(final File folder) {
	    for (final File fileEntry : folder.listFiles()) {
	        if (fileEntry.isDirectory()) {
	        	fileEntry.length();
	        } else {
	            System.out.println(fileEntry.getName());
	        }
	    }
	}
}
